package com.sunyur.tailor.channel.service.inner.supplier.model;

import lombok.Data;

import java.util.List;

/**
 * @Author XuHui
 * @Description 供应商认证工单详情
 * @Date 14:21 2022/3/4
 **/
@Data
public class SupplierAuthModelSupplierAuthTx {
    private String code;
    private String supplierName;
    private String supplierCode;
    /**
     * 申请信息
     */
    private ApplyInfosModel applyInfos;
    /**
     * 处理信息
     */
    private ProcessInfosModel processInfos;
    private AuthItems authItems;
    private String creditCode;
    private String creditCodeType;

    @Data
    private class AuthItems {
        private String purchaserInnerCredit;
        private List<String> registryProtocols;
        private List<String> supplierAuthQuestionnaires;
        private SupplierInfoValid supplierInfoValid;
        private String supplierOuterAuth;
        private List<String> supplierQuestionnaire;
        private List<String> supplierTaskCheck;
        private List<String> supplierThirdPartyCheck;

        @Data
        private class SupplierInfoValid {
            private Boolean isFull;
            private String name;
            private Long purchaserId;
            private Long purchaserSupplierId;
            private Long supplierId;
            private String type;
        }
    }
}
